package com.heima.model.comment.pojos;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评论配置表
 * </p>
 *
 * @author leon
 * @since 2024-11-26
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ap_comments_config")
@ApiModel(value="ApCommentsConfig对象", description="评论配置表")
public class ApCommentsConfig implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "评论的唯一标识符")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "作者的ID")
    private Integer authorId;

    @ApiModelProperty(value = "作者的名称")
    private String authorName;

    @ApiModelProperty(value = "关联内容条目的ID")
    private Long entryId;

    @ApiModelProperty(value = "渠道ID，可以为空")
    private Integer channelId;

    @ApiModelProperty(value = "评论类型")
    private Integer type;

    @ApiModelProperty(value = "创建时间的时间戳")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "更新时间的时间戳，可以为空")
    private LocalDateTime updatedTime;

    @ApiModelProperty(value = "操作标识")
    private Integer operation;

}
